import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'uteped_sdk_method_channel.dart';

abstract class UTEPedSdkPlatform extends PlatformInterface {
  /// Constructs a UTEPedSdkPlatform.
  UTEPedSdkPlatform() : super(token: _token);

  static final Object _token = Object();

  static UTEPedSdkPlatform _instance = MethodChannelUTEPedSdk();

  /// The default instance of [UTEPedSdkPlatform] to use.
  ///
  /// Defaults to [MethodChannelUTEPedSdk].
  static UTEPedSdkPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [UTEPedSdkPlatform] when
  /// they register themselves.
  static set instance(UTEPedSdkPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<bool> bFunc(Map<String, Object> params) {
    throw UnimplementedError('bFunc has not been implemented.');
  }

  Future<String> sFunc(Map<String, Object> params) {
    throw UnimplementedError('sFunc has not been implemented.');
  }

  Future<dynamic> dFunc(Map<String, Object> params) {
    throw UnimplementedError('dFunc has not been implemented.');
  }

  Future<void> vFunc(Map<String, Object> params) {
    throw UnimplementedError('vFunc has not been implemented.');
  }

  Future<void> vFunAsync(Map<String, Object> params) {
    throw UnimplementedError('vFunAsync has not been implemented.');
  }

}
